// 返回值的类型必须与函数类型相同(void对应无返回值)

// Non-void function 'str_subrange' should return a value. // error #1
// Control may reach end of non-void function. // error #2